<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>转账业务</title>
<script src="script/jquery.min.js"></script>
<script>
    $(function(){
    	$("button").click(function(){
    		var from = $("#fromAccount").val();
    		var to = $("#toAccount").val();
    		var money = $("#money").val();
    		var transInfo = {fromAccount:from,toAccount:to,"money":money};
    		$.post("transToAccount",transInfo,function(data){
    			document.write(data);
    		});
    	});
    });
</script>
</head>
<body>
   <input type="text" id="fromAccount" placeholder="请输入转出账号"/><br/>
   <input type="text" id="toAccount" placeholder="请输入转入账号"/><br/>
   <input type="text" id="money" placeholder="请输入转出金额"/><br/>
   <button>确认转账</button>
</body>
</html>